package pl.model.dao;

import java.util.List;

public interface AbstractDao<T> {
	
	public abstract void save(T object);
	
	public abstract void persist(T object);
	
	public abstract T merge(T object);

	public abstract T find(int id);

	public abstract void remove(T object);
	
	public abstract void delete(T object);

	public List<T> getAll();
	
	public void flush();
}
